/**
    Copyright (C) 2012 Guido Ludwig

    This file is part of JATT.
	http://code.google.com/p/jatt/

    JATT is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package de.guidoludwig.jatt;

import de.guidoludwig.jatt.chain.commands.config.CleanupImagesConfig;
import de.guidoludwig.jatt.chain.commands.config.ClearConfig;
import de.guidoludwig.jatt.chain.commands.config.CollectArtworkConfig;
import de.guidoludwig.jatt.chain.commands.config.ExtractArtworkConfig;
import de.guidoludwig.jatt.chain.commands.config.LastFMConfig;
import de.guidoludwig.jatt.chain.commands.config.SelectOptimizedImageConfig;
import de.guidoludwig.jatt.chain.commands.config.ValidationConfig;
import de.guidoludwig.jatt.chain.commands.config.WriteArtworkConfig;

/**
 * A configuration giving information about the current state only
 * 
 * @author guido
 * 
 */
public class JATTConfigInfo extends JATTConfigBase {
	
	public JATTConfigInfo() {
		super();
		configure();
	}

	@Override
	protected void configure(ExtractArtworkConfig config) {
		config.setActive(false);
	}

	@Override
	protected void configure(ClearConfig config) {
		config.setActive(false);
	}

	@Override
	protected void configure(LastFMConfig config) {
		config.setActive(false);
	}

	@Override
	protected void configure(SelectOptimizedImageConfig config) {
		config.setActive(false);
	}

	@Override
	protected void configure(CleanupImagesConfig config) {
		config.setActive(false);
	}

	@Override
	protected void configure(WriteArtworkConfig config) {
		config.setActive(false);
	}

	@Override
	protected void configure(ValidationConfig config) {
		config.setActive(true);
		config.setValidateFolderImage(true);
		config.setValidateOK(false);
		config.setValidateTags(true);
	}

	@Override
	public String getName() {
		return "Info";
	}

	@Override
	protected void configure(CollectArtworkConfig config) {
		config.setActive(false);
	}

}
